﻿using Nemerle.Collections;
using Nemerle.Peg;
using Nemerle.Text;
using Nemerle.Utility;

using System;
using System.Collections.Generic;
using System.Linq;

namespace Nemerle2.Compiler
{
  /// <summary>
  /// Description of PArguments.
  /// </summary>
  [Record]
  public variant PArguments : PExprBase
  {
    | Content { Args  : LocatedList[PExpr]; }
    | Expr    { Code  : PExpr; }
    | Error   { Msg   : Msg; }

    [RecordIgnore] public OpenBrace   : Location { get; set; }
    [RecordIgnore] public CloseBrace  : Location { get; set; }
  }
}
